package com.liugege.make.factory.abstractfactory.pizzastore.pizza;

public class OrderPizza {
    public static void main(String[] args) {
        AbstractFactory factory = new BJFactory();
        String orderType = "cheese";
        Pizza pizza = factory.createPizza(orderType);
        pizza.prepare();
        pizza.bake();
        pizza.cut();
        pizza.box();
    }
}
